
	<div style="display: %%GLOBAL_HideAdvancedSearch%%">
	<form action="%%GLOBAL_FormAction%%#results" method="post" onSubmit="return CheckAdvancedSearchForm()">
		<table class="Panel AdvancedSearchPanel" align="center">
		<tr>

			<td class="SearchHeading" colspan="2">%%LNG_hpAdvancedSearch%%</td>
		</tr>
		<tr>
			<td class="SearchFieldLabel"><span class="Required">*</span>&nbsp;%%LNG_searchQueryLabel%%:</td>
			<td class="Content"><input name="Query" id="AQuery" class="Field400" value="%%GLOBAL_Query%%"></td>
		</tr>
		<tr>
			<td class="SearchFieldLabel">&nbsp;&nbsp;%%LNG_searchCategoriesLabel%%:</td>
			<td class="Content">
				<select name="Categories[]" id="Categories" class="Field400" multiple size="5">
					<option value="0" %%GLOBAL_AllSel%%>%%LNG_searchAllCategories%%</option>
					%%GLOBAL_SearchCategoryOptions%%
				</select>
			</td>
		</tr>
		<tr>
			<td class="SearchFieldLabel">&nbsp;&nbsp;%%LNG_rated%%:</td>
			<td class="Content">
				<input type="hidden" name="ratedOp" value=">=">
				<select name="rated" class="Field400">
					%%GLOBAL_ratedOptions%%
				</select>
			</td>
		</tr>
		%%Panel.SearchCustomFields%%
		<tr>
			<td class="SearchFieldLabel"></td>
			<td class="SearchFieldLabel"><input type="submit" id="SearchButton" value="%%LNG_hpSearch%%" class="FormButton"></td>
		</tr>
		<tr style="display: %%GLOBAL_HideSearchDivider%%">
			<td class="Content" colSpan="2">
				<div class="HorizontalRule"></div>
			</td>
		</tr>
		</table>
	</form>
	<hr class="Seperator" noshade size="1" style="display: %%GLOBAL_HideSeperator%%">
	</div>

	<!-- Start Search Results -->

	<div style="display: %%GLOBAL_HideSearchResults%%">
		<a name="results"></a>
		<table class="BodyPanel" align="center">
		<tr>
			<td class="Heading2">%%GLOBAL_ResultHeading%%</td>
		</tr>
		<tr>
			<td class="Text">
				<table width="100%" border="0">
				<tr>
					<td width="50%" class="Text">
						%%GLOBAL_SearchResultIntro%%
					</td>
					<td width="50%" class="Text" align="right">
						%%GLOBAL_Nav%%
					</td>
				</tr>
				</table>
				%%GLOBAL_SearchGrid%%
				<div style="text-align:right" class="Text">
					%%GLOBAL_Nav%%
				</div>
			</td>
		</tr>
		</table>
	</div>

	<!-- End Search Results -->

	<script type="text/javascript" language="javascript">

		function CheckAdvancedSearchForm()
		{
			if(document.getElementById("AQuery").value == "") {
				alert("%%LNG_hpPleaseEnterSearchTerm%%");
				document.getElementById("AQuery").focus();
				return false;
			}

			return true;
		}

	</script>
